package com.lxmes.business.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.lxmes.common.annotation.Excel;
import com.lxmes.common.core.domain.BaseEntity;

/**
 * 回款明细对象 cc_hk_info
 *
 * @author 王超
 * @date 2022-08-27
 */
public class CcHkInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 回款明细编号（主键） */
    private Long id;

    /** 公司编号 */
    @Excel(name = "公司编号")
    private Long deptId;

    /** 主表编号 */
    @Excel(name = "主表编号")
    private Long mainId;

    /** 客户编号 */
    @Excel(name = "客户编号")
    private Long cusId;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String cusName;

    /** 回款方式 */
    @Excel(name = "回款方式")
    private String hkType;

    /** 回款时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "回款时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date hkTime;

    /** 回款人 */
    @Excel(name = "回款人")
    private String hkName;

    /** 备用字段1 */
    @Excel(name = "回款金额")
    private BigDecimal res1;

    /** 备用字段2 */
    @Excel(name = "备用字段2")
    private String res2;

    /** 备用字段3 */
    @Excel(name = "备用字段3")
    private String res3;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setDeptId(Long deptId)
    {
        this.deptId = deptId;
    }

    public Long getDeptId()
    {
        return deptId;
    }
    public void setMainId(Long mainId)
    {
        this.mainId = mainId;
    }

    public Long getMainId()
    {
        return mainId;
    }
    public void setCusId(Long cusId)
    {
        this.cusId = cusId;
    }

    public Long getCusId()
    {
        return cusId;
    }
    public void setCusName(String cusName)
    {
        this.cusName = cusName;
    }

    public String getCusName()
    {
        return cusName;
    }
    public void setHkType(String hkType)
    {
        this.hkType = hkType;
    }

    public String getHkType()
    {
        return hkType;
    }
    public void setHkTime(Date hkTime)
    {
        this.hkTime = hkTime;
    }

    public Date getHkTime()
    {
        return hkTime;
    }
    public void setHkName(String hkName)
    {
        this.hkName = hkName;
    }

    public String getHkName()
    {
        return hkName;
    }


    public BigDecimal getRes1() {
        return res1;
    }

    public void setRes1(BigDecimal res1) {
        this.res1 = res1;
    }

    public void setRes2(String res2)
    {
        this.res2 = res2;
    }

    public String getRes2()
    {
        return res2;
    }
    public void setRes3(String res3)
    {
        this.res3 = res3;
    }

    public String getRes3()
    {
        return res3;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("deptId", getDeptId())
            .append("mainId", getMainId())
            .append("cusId", getCusId())
            .append("cusName", getCusName())
            .append("hkType", getHkType())
            .append("hkTime", getHkTime())
            .append("hkName", getHkName())
            .append("remark", getRemark())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("res1", getRes1())
            .append("res2", getRes2())
            .append("res3", getRes3())
            .toString();
    }
}
